<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
em { color:#F00; font-style: normal }



</style>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="../Public/css/yuan.css" />
{if $title}
<title>{$title}</title>
<meta name="keywords"   content="{$keywords}" />
<meta name="description" content="{$description}" />
{else}
<title>{$seo_title}</title>
<meta name="keywords"   content="{$seo_keywords}" />
<meta name="description" content="{$seo_description}" />
{/if}  
<link rel="shortcut icon" type="image/x-icon" href="./Public/Images/favicon.ico" />
<link type="text/css" rel="stylesheet" href="../Public/css/style.css" />
<link type="text/css" rel="stylesheet" href="../Public/css/style1.css" />
<link type="text/css" rel="stylesheet" href="../Public/css/style3.css" />
<!--新浪-->
<script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=1485666284" type="text/javascript" charset="utf-8"></script>

<html xmlns:wb="http://open.weibo.com/wb">

 <script type="text/javascript" src="../Public/js/jquery.min.js"></script>
 <link rel="stylesheet" href="./Public/js/Kindeditor/themes/default/default.css" />
 <script src="./Public/js/Kindeditor/kindeditor.js"></script>
 <script src="./Public/js/Kindeditor/lang/zh_CN.js"></script>


<script type="text/javascript" src="../Public/js/goTop.js"></script><!-- 返回顶部 -->
<script type="text/javascript" src="../Public/js/index.js"></script>
<script type="text/javascript" src="../Public/js/jquery.SuperSlide.js"></script>

<script type="text/javascript" src="../Public/js/public.js"></script><!-- 3图转换轮播 -->
<script type="text/javascript" src="../Public/js/myfloor.js"></script>

<!--<script language="JavaScript" src="../Public/js/accordion.js"></script>  <!--手风琴-->

<script type="text/javascript" src="../Public/js/jquery.SuperSlide.2.1.1.js"></script><!-- 推荐大咖 -->
</head>
<body>
<!-- 顶部广告 -->
    <YP:flash flashid="29" key="kid" />
    <div id="x"><img src="../Public/images/x.png" alt=""></div>

<!-- 顶部 -->
<div class="top">
  <div class="auto">
    <div class="top_le">
      <ul>
        <li></li>
        <li class="weixng" style="width:100px">
          <div class="tlt"><img src="../Public/images/top1.png"></div>
          <div class="tlwz"><a >官方微信 ∨</a>
            </div>
            <div class="weixin"> <YP:flash flashid="31" key="kid" /></div>
        </li>
        <li class="mobileng">
          <div class="tlt2"><img src="../Public/images/top2.png"></div>
          <div class="tlwz2"><a>手机版</a></div>
          <div class="mobile"> <img src="../Public/images/mobileewm.png" width="110" height="110" /></div>
        </li>
         <a href="{$site_url}" id="wind_user1"> <li class="tr1" style="width:auto; line-height:30px;">首页</li></a>
      </ul>
    </div>
    <div class="top_ri">
      <ul>
       
        {if  $_COOKIE['YP_username']}
         {php $user=M('User')->field('username')->where('id='.$jgsatuserid)->find()}
        <a href="{:URL('User-Index/index')}"><li class="tr1">{$user['username']}</li></a>
        <a  id="logout_url" href="{:URL('User-Login/logout')}"><li class="tr2">{:L(logout)}</li></a>
        <a  id="logout_url" href="/index.php?g=User&m=Index&a=message"><li class="tr2" style="width:100px">
          站内信（<b style="color:#F00"><?php  echo (mess_num());?></b>）</li></a>
          <input id="cook_id" type="hidden" value="$_COOKIE['YP_username']" />
        {else}
        <a href="{:URL('User-Login/index')}"><li class="tr1">登录</li></a>
        <a href="{:URL('User-Register/index')}"/><li class="tr2">{:L(REGISTER)}</li></a>
        {/if}
        <a href="index.php?g=user&m=Guestbookadd&a=add"><li class="tr3">提交需求</li></a>
        <a href="index.php?m=Help&a=index&id=22"><li class="tr4">新手帮助</li></a>
<style>
.gps li{ width:100px;}  
</style>        
          <li class="tr5">
            网站导航
            <div class="tlt3"><img src="../Public/images/top3.png"></div>
            <ul class="gps">
               <ul><YP:subcat  catid="0">
				    <li {if $r[id]==$bcid} class="on"{/if}  ><a href="{$r.url}">{$r.catname}</a></li>
		     
	              </YP:subcat></ul>

              <div class="clear"></div>
            </ul>
          </li>
      </ul>
    </div>

  </div>
</div>
<script>
// 顶部广告
  $('#x').click(function(){
    $('.topcf,#x').slideToggle();
  });
  //网站导航
  $('.tr5').mouseover(function(){
    $('.gps').css('display','block');
    $('.tr5').css({background:"#fff"});
  });
  $('.tr5').mouseout(function(){
    $('.gps').css('display','none');
    $('.tr5').css({background:"#e5e5e5"});
  })
  
   
    $('.weixng').mouseover(function(){
    $('.weixin').css('display','block');
      $('.weixng').css({background:"#fff"});
  })
   
   $('.weixng').mouseout(function(){
    $('.weixin').css('display','none');
	$('.weixng').css({background:"#e5e5e5"});
   
  })
  
  
</script>
<!-- 头部 -->
<style type="text/css">
#search_se{font-family: '微软雅黑';}
</style>
<div class="header">
  <div class="auto" style="border-bottom:solid 1px #604328; height:180px;">
    <div class="logo">
      <a href="{$site_url}"><img src="{$logo}"></a>
    </div>
<style type="text/css">
#search_se{font-family: '微软雅黑';}
/*兼容IE8*/
.sub,.yuan ,.search,.ss1 a,.ss2,.on a,.cur,.fb_jz a, a {behavior: url(../Public/PIE.htc);}

</style>

    <div class="dh">
      <div class="search">
          <form cation="/index.php?" method="get" id="search_h" onSubmit="return zhuzi();">
             <input type="hidden"  name="m" value="Search"/>

                <!--<ul id="idState" class="wz_r" >
                  <input id="date" type="hidden" name="module" value="{$search_m}" />
                  <input id="catid" type="hidden" name="catid" value="{$search_catid}" />
                  <select name="searchid" id="search_se" onchange="sele()" style="width:92px; height:45px; padding:8px  0; border:none">
                     <option value="0">请选择</option>
                     <option  value="1" title="case" {if $searchid=='1'} selected="selected"  {/if} name="2" >效果图</option>
                     <option  value="2" title="case" {if $searchid=='2'} selected="selected" {/if} name="1"> 案例图</option>
                     <option  value="3" title="user" {if $searchid=='3'} {$search_m} selected="selected" {/if} name="4">设计师</option>
                     <option  value="4" title="product" {if $searchid=='4'} selected="selected" {/if} name="6">餐饮设备</option>
                    
                  </select>
                 </ul>-->
                 <ul id="idState" class="wz_r"  >
                  <input id="date" type="hidden" name="module" value="{$search_m}" /><!-- 搜索表名 -->
                  <input id="catid" type="hidden" name="catid" value="{$search_catid}" />
                  <input id="m_name" type="hidden" name="m_name" value="{$m_name}" />
                  <p id="text1">{if $m_name}{$m_name}{else}请选择&nbsp;{/if}</p>
                  
                  <li><a title="case" name="1" href="javascript:getval('案例图&nbsp;')">案例图</a></li>
                  <li><a title="case" name="2" href="javascript:getval('效果图&nbsp;')">效果图</a></li>
                  <li ><a title="user" name="4" href="javascript:getval('设计师&nbsp;')">设计师</a></li>
                  <li ><a title="product" name="6" href="javascript:getval('餐饮设备&nbsp;')">餐饮设备</a></li>
                  <li ><a title="Zforum_theme"  href="javascript:getval('帖子&nbsp;')">帖子</a></li>
                </ul> 
                <input type="text" name="keyword" id="search_con" placeholder="搜索你想找的内容" class="tex" />
                <input type="submit" value="搜索" class="sub" id="search_sub"   />

                <div class="clear"></div>
          </form>
      </div>

      <div class="ss1"><a href="index.php?g=user&m=Guestbookadd&a=add" style="border-radius:10px;">提交需求</a></div>
      <div class="ss2" style="background:url(../Public/images/wind3.png) no-repeat center;border-radius:10px;">
        <span style="font-size:16px;font-weight:bold;color:#FFF;float:right;margin:24px 10px 0px 0px;">{$Hotline}</span>
      </div>

          <div class="xdh">
        		<ul id="nav">
				    <li  class="b1{if $catid==$nr["id"]} on {/if} " ><a href="{$site_url}" class="yuan" >首页</a></li>

				    <YP:subcat catid="0" id="nr" key="ni">
                {if $nr['id']<=7}
        		    	<li class="b2{if $catid==$nr["id"]} on{/if}">
                      
                           <a href="{$nr['url']}" class="yuan"  >{$nr['catname']}</a>
                           
                        </li>
                {/if}
        		</YP:subcat>

        		</ul>
          </div>

    </div>

  </div>
</div>
<script>
  $('#idState').mouseover(function(){
    $(this).children('li').css('display','block');
  });
  $('#idState').mouseout(function(){
    $(this).children('li').css('display','none');
  });
         
function sele(){
	var p1=$("#search_se").val();
	//alert(p1);
	var title=$("#search_se option:selected").attr('title');
	var name=$("#search_se option:selected").attr('name');
	       $('#date').attr('value',title);
		   $('#catid').attr('value',name);
	}//



		 
		 
		  //点击地址 搜索
        function getval(vals){
              //alert(111)
            $('#text1').html(vals);
        }
        $('#idState li').click(function(){
         //alert($(this).children('a').attr('title'));
          $('#date').attr('value',$(this).children('a').attr('title'));
		   $('#catid').attr('value',$(this).children('a').attr('name'));
		    $('#m_name').attr('value',$(this).children('a').html());
        });
	  function zhuzi(){
		
	        var type=$('#date').val();
            var contnet=$('#search_con').val();
          if(type){
              if(contnet){

                  return true;
              }else{
                  alert('请输入您要搜索的内容');
                  return false;

              }

          }else{
              alert('请选择您要搜索的栏目');
              return false;

          }


	  }
		
</script>
<style>
.a_color{color:#FF9C00;}
 a:hover{color: #f00;}
</style>
<div style="clear:both;"></div>
<!-- content -->
<div style="width:100%;background:#EEE;height:auto !important;">
  <div class="wind_content1 yuan">
    
    <div class="wind_content1L " >
     <a href="index.php?g=User&m=Index"> <span class="wind_content1Ltitel">个人中心</span></a>
      <ul class="wind_content1LULl">
        <li style="font-size:14px;font-weight:bold;">我的个人资料</li>
        <li>
          <ul class="wind_content1LULl_son">
          {if $vo['groupid']=='1'}
           <a href="{:U('User/Index/designer')}"><li>个人资料</li></a>
          {/if}
          {if $vo['groupid']=='2'}
           <a href="{:U('User/Index/guestbook')}"><li>个人资料</li></a>
          {/if}
          {if $vo['groupid']=='3'}
           <a href="{:U('User/Index/product')}"><li>个人资料</li></a>
          {/if}
          
          </ul>
        </li>
      </ul>
      <ul class="wind_content1LULl">
        <li style="font-size:14px;font-weight:bold;">主页管理</li>
        <li>
          <ul class="wind_content1LULl_son">
          {if $vo['groupid']=='1'}
            <a href="{:U('User/Designer/index')}"><li>设计作品</li></a>
          {/if}
           {if $vo['groupid']=='2'}
             <a href="{:U('User/Guestbook/fblog')}"><li>发布的需求</li></a>
             <a href="/index.php?g=User&m=Guestbook&a=fblog&typeid=1"><li>我的预约</li></a>
            {/if}
            {if $vo['groupid']=='3'}
              <a href="{:U('User/Product/index')}"><li>上传的商品</li></a>
            {/if}
            <a href="{:U('User/Zforum_theme/index')}"><li>我的帖子</li></a>
            <a href="{:U('User/Zforum_theme/message')}"><li >我的消息</li></a>
            <a href="{:U('User/Index/comment')}"><li>我的评论</li></a>
            <a href="{:U('User/Index/mykeep')}"><li>我的收藏</li></a>
            <a href="{:U('User/Index/message')}"><li>站内信</li></a>
          </ul>
        </li>
      </ul>
    </div>
   
<script   type="text/javascript">
   $(document).ready(function(){

		   var url=window.location.search;
		   var url='\/index.php'+url;
		  
		   $(".wind_content1L a").each(function(){
		       var url_m=$(this).attr("href");
			   
			   if(url==url_m){
				  $(this).addClass('a_color'); 
				   }else{
					  
				  $(this).removeClass("a_color");
					   }
		
		});
   })
   
  
</script>